package com.xgpro.pc.archives.service;


import com.xgpro.common.results.ResponseResult;
import com.xgpro.domain.archives.dto.ApprovalInfo;
import com.xgpro.domain.archives.entity.Patent;
import com.xgpro.domain.archives.entity.Project;
import com.xgpro.domain.archives.entity.SixSigma;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;


public interface PcArchivesService {

    public ResponseResult getApproval(String rankName, String deptName, Integer status, Integer pageNum, Integer pageSize);

    public ResponseResult getApprovalInfo(Integer id);

    public ResponseResult updateApproval(ApprovalInfo approvalInfo);

    public ResponseResult deleteApproval(List<Integer> ids);

    public ResponseResult getRankName();

    public ResponseResult getDeptName();

    public ResponseResult getArchives(String name,String deptName,Integer eduKind,Integer pageNum,Integer pageSize);

    public ResponseResult getUser(Integer userId);

    public ResponseResult getPanent(Integer userId,String name,Integer type,Integer pageNum, Integer pageSize);

    public ResponseResult getProject(Integer userId,String name,Integer type,Integer pageNum, Integer pageSize);

    public ResponseResult deleteUser(List<Integer> userIds);

    public ResponseResult deletePatent(List<Integer> ids);

    public ResponseResult deleteProject(List<Integer> ids);

    public ResponseResult addPatent(Patent patent);

    public ResponseResult addProject(Project project);

    public ResponseResult updateProject(Project project);

    public ResponseResult updatePatent(Patent patent);

    public ResponseResult getSix(Integer userId);

    public ResponseResult updateSix(SixSigma sigma);

}